# Example: Use alarm triggers

This example shows how alarm triggers and message trigger values work together to trigger alarms.

Set up the alarm triggers:

Trigger (tag name) | Trigger type | Tag address
Trigger1 | Bit | N7:0
Trigger2 | LSB | N7:1
Trigger3 | Value | N7:2

Set up the alarm messages:

Trigger | Value / bit | Message
<AllTriggers> | 1 | High temp in vat area
Trigger1 | 1 | Vat 100 temp high
Trigger2 | 1 | Vat 101 temp high
Trigger3 | 1 | Vat 102 temp high

At run time, these messages appear when the tag values (or bit positions) change to 1.

Notice that the <AllTriggers> message is configured to appear when any trigger’s value (or bit position) changes to 1.

Trigger and value | Messages triggered
Trigger1 = 0001 | High temp in vat area Vat 100 temp high
Trigger2 = 0003 | High temp in vat area Vat 101 temp high
Trigger3 = 0001 | High temp in vat area Vat 102 temp high

## See also

Create an alarm trigger

Create an alarm message